﻿<%@ Page Language="C#" ValidateRequest="false" MasterPageFile="~/admin/admin_page.master" AutoEventWireup="true" CodeBehind="label_edit.aspx.cs" Inherits="YXShop.Web.admin.templates.lable.label_edit" %>
<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" href="../style/admin.css" type="text/css" />
    <script src="../../../scripts/prototype.js" type="text/javascript"></script>
    <link rel="stylesheet" href="../../style/validator.css" type="text/css" />
    <script type="text/javascript" src="../../../scripts/validate.js"></script>
    <script src="../../scripts/public.js" type="text/javascript"></script>
        <script type="text/javascript" language="javascript">
function getValue(value)
{
    if(value!="") 
    {
        document.getElementById("ctl00_workspace_txtLabelContent").value=value;
    }
}

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pagetitle" runat="server">标签管理
<asp:Button ID="btnOK" runat="server" CssClass="inputbutton" onclick="lbSave_Click" Text="保存" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'"/>
    <asp:HyperLink ID="hlBack" runat="server"  CssClass="inputbutton" Width="65px" Height="24px" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'">返回模板</asp:HyperLink>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="pageinfo" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="workspace" runat="server">
    <asp:Panel ID="pnlMsg" runat="server" Visible="false" CssClass="pnlReturnMessageErr">
        <asp:Literal ID="ltlMsg" runat="server"></asp:Literal>
    </asp:Panel>
     <table  class="form_table_input" border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
             <td class="form_table_input_info">标签名称：</td>
             <td>
                 <span style="color:red; font-size:14px; font-weight:bold;">{<asp:Label ID="lbLabelType" runat="server" >
                 </asp:Label> * <asp:TextBox ID="txtLabelName" runat="server"></asp:TextBox>#}</span>
                 <asp:DropDownList ID="ddlLabelClass" runat="server">
                 </asp:DropDownList><asp:Panel ID="txtLabelNameTip" runat="server">
                </asp:Panel>
             </td>
         </tr>
	    <tr>
		    <td class="form_table_input_info" style="height:30px">插入内容：
            </td>
		    <td><span id="adress"></span>
                <div style="margin-top:5px; margin-bottom:5px"><asp:Label ID="lbInsertContent" runat="server"></asp:Label></div>
            </td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info">标签内容：
            </td>
		    <td>
		        <%--<FCKeditorV2:FCKeditor ID="txtContent" runat="server" Height="450px" BasePath="~/controls/fckeditor/"></FCKeditorV2:FCKeditor>--%>
		        <asp:TextBox runat="server" ID="txtLabelContent" TextMode="MultiLine" Width="678px" Height="300px"></asp:TextBox>
                <div class="msgNormal">描述限制在50个字符以内</div>
            </td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info">标签描述：
            </td>
		    <td>
                <asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" Width="600px"></asp:TextBox>
                <div class="msgNormal">描述限制在50个字符以内</div>
            </td>
	    </tr>
    </table>
</asp:Content>
<asp:Content ID="ContBottom" runat="server" ContentPlaceHolderID="pagebottom">
 <asp:Button ID="btnSave" runat="server" CssClass="inputbutton" onclick="lbSave_Click" Text="保存" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'"/>
    <asp:HyperLink ID="hfBottomBack" runat="server"  CssClass="inputbutton" Width="65px" Height="24px" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'">返回模板</asp:HyperLink>
</asp:Content>